<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改排班管理')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-roster-edit" th:object="${amRoster}">
            <input name="rosterId" th:field="*{rosterId}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">姓名：</label>
                <div class="col-sm-8">
                    <input name="name" th:field="*{name}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">1：</label>
                <div class="col-sm-8">
                    <input name="d1" th:field="*{d1}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">2：</label>
                <div class="col-sm-8">
                    <input name="d2" th:field="*{d2}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">3：</label>
                <div class="col-sm-8">
                    <input name="d3" th:field="*{d3}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">4：</label>
                <div class="col-sm-8">
                    <input name="d4" th:field="*{d4}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">5：</label>
                <div class="col-sm-8">
                    <input name="d5" th:field="*{d5}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">6：</label>
                <div class="col-sm-8">
                    <input name="d6" th:field="*{d6}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">7：</label>
                <div class="col-sm-8">
                    <input name="d7" th:field="*{d7}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">8：</label>
                <div class="col-sm-8">
                    <input name="d8" th:field="*{d8}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">9：</label>
                <div class="col-sm-8">
                    <input name="d9" th:field="*{d9}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">10：</label>
                <div class="col-sm-8">
                    <input name="d10" th:field="*{d10}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">11：</label>
                <div class="col-sm-8">
                    <input name="d11" th:field="*{d11}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">12：</label>
                <div class="col-sm-8">
                    <input name="d12" th:field="*{d12}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">13：</label>
                <div class="col-sm-8">
                    <input name="d13" th:field="*{d13}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">14：</label>
                <div class="col-sm-8">
                    <input name="d14" th:field="*{d14}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">15：</label>
                <div class="col-sm-8">
                    <input name="d15" th:field="*{d15}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">16：</label>
                <div class="col-sm-8">
                    <input name="d16" th:field="*{d16}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">17：</label>
                <div class="col-sm-8">
                    <input name="d17" th:field="*{d17}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">18：</label>
                <div class="col-sm-8">
                    <input name="d18" th:field="*{d18}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">19：</label>
                <div class="col-sm-8">
                    <input name="d19" th:field="*{d19}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">20：</label>
                <div class="col-sm-8">
                    <input name="d20" th:field="*{d20}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">21：</label>
                <div class="col-sm-8">
                    <input name="d21" th:field="*{d21}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">22：</label>
                <div class="col-sm-8">
                    <input name="d22" th:field="*{d22}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">23：</label>
                <div class="col-sm-8">
                    <input name="d23" th:field="*{d23}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">24：</label>
                <div class="col-sm-8">
                    <input name="d24" th:field="*{d24}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">25：</label>
                <div class="col-sm-8">
                    <input name="d25" th:field="*{d25}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">26：</label>
                <div class="col-sm-8">
                    <input name="d26" th:field="*{d26}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">27：</label>
                <div class="col-sm-8">
                    <input name="d27" th:field="*{d27}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">28：</label>
                <div class="col-sm-8">
                    <input name="d28" th:field="*{d28}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">29：</label>
                <div class="col-sm-8">
                    <input name="d29" th:field="*{d29}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">30：</label>
                <div class="col-sm-8">
                    <input name="d30" th:field="*{d30}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">31：</label>
                <div class="col-sm-8">
                    <input name="d31" th:field="*{d31}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">月份：</label>
                <div class="col-sm-8">
                    <input name="month" th:field="*{month}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "am/roster";
        $("#form-roster-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-roster-edit').serialize());
            }
        }
    </script>
</body>
</html>